package com.douqu.game.core.database.model;

import java.util.Date;

/**
 * @Author: Bean
 * @Description:
 * @Date: 2018-10-17 18:17
 */
public class UpdateConfigModel {

    private int id;

    private String type;

    private Date startTime;

    private String version;

    private String bucket;

    private String path;

    private Date createTime;

    private String optionPerson;

    private boolean notifyActivity;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getOptionPerson() {
        return optionPerson;
    }

    public void setOptionPerson(String optionPerson) {
        this.optionPerson = optionPerson;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getBucket() {
        return bucket;
    }

    public void setBucket(String bucket) {
        this.bucket = bucket;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public boolean isNotifyActivity() {
        return notifyActivity;
    }

    public void setNotifyActivity(boolean notifyActivity) {
        this.notifyActivity = notifyActivity;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof UpdateConfigModel)) return false;

        UpdateConfigModel that = (UpdateConfigModel) o;

        if (id != that.id) return false;

        return true;
    }

    @Override
    public int hashCode() {
        return id;
    }


}
